<?php
/**
* 	Bushido
 *
 * @category   Bushido
 * @package    Bushido_FusionCharts
 * @subpackage DOMElement
 * @copyright  Copyright (c) 2008-2009 Nathan Keyes
 * @author Nathan Keyes
 * @version    $Id: Chart.php 7 2009-11-14 22:42:08Z nkeyes $
 */


/**
 * 
 * @author Nathan Keyes
 *
 */
class Bushido_FusionCharts_DOMElement_Chart extends Bushido_FusionCharts_DOMElement_RootAbstract
{
	
	/**
	 * (non-PHPdoc)
	 * @see library/Bushido/DOMElement/Bushido_DOMElement_Abstract#_setAllowedAttributes()
	 */
	protected function _setAllowedAttributes()
	{
		$this->_allowedAttributes = array
		(
			'palette' => null,
			'showLabels' => null,
			'labelDisplay' => null,
			'rotateLabels' => null,
			'slantLabels' => null,
			'labelStep' => null,
			'staggerLines' => null,
			'showValues' => null,
			'rotateValues' => null,
			'placeValuesInside' => null,
			'showYAxisValues' => null,
			'showLimits' => null,
			'showDivLineValues' => null,
			'yAxisValuesStep' => null,
			'showShadow' => null,
			'adjustDiv' => null,
			'rotateYAxisName' => null,
			'yAxisNameWidth' => null,
			'clickURL' => null,
			'defaultAnimation' => null,
			'yAxisMinValue' => null,
			'yAxisMaxValue' => null,
			'setAdaptiveYMin' => null,
			'caption' => null,
			'subCaption' => null,
			'xAxisName' => null,
			'yAxisName' => null,
			'bgColor' => null,
			'bgAlpha' => null,
			'bgRatio' => null,
			'bgAngle' => null,
			'bgSWF' => null,
			'bgSWFAlpha' => null,
			'canvasBgColor' => null,
			'canvasBgAlpha' => null,
			'canvasBgRatio' => null,
			'canvasBgAngle' => null,
			'canvasBorderColor' => null,
			'canvasBorderThickness' => null,
			'canvasBorderAlpha' => null,
			'showBorder' => null,
			'borderColor' => null,
			'borderThickness' => null,
			'borderAlpha' => null,
			'useRoundEdges' => null,
			'showPlotBorder' => null,
			'plotBorderColor' => null,
			'plotBorderThickness' => null,
			'plotBorderAlpha' => null,
			'plotBorderDashed' => null,
			'plotBorderDashLen' => null,
			'plotBorderDashGap' => null,
			'plotFillAngle' => null,
			'plotFillRatio' => null,
			'plotFillAlpha' => null,
			'plotGradientColor' => null,
			'numDivLines' => null,
			'divLineColor' => null,
			'divLineThickness' => null,
			'divLineAlpha' => null,
			'divLineIsDashed' => null,
			'divLineDashLen' => null,
			'divLineDashGap' => null,
			'zeroPlaneColor' => null,
			'zeroPlaneThickness' => null,
			'zeroPlaneAlpha' => null,
			'showAlternateHGridColor' => null,
			'alternateHGridColor' => null,
			'alternateHGridAlpha' => null,
			'formatNumber' => null,
			'formatNumberScale' => null,
			'defaultNumberScale' => null,
			'numberScaleUnit' => null,
			'numberScaleValue' => null,
			'numberPrefix' => null,
			'numberSuffix' => null,
			'decimalSeparator' => null,
			'thousandSeparator' => null,
			'inDecimalSeparator' => null,
			'inThousandSeparator' => null,
			'decimals' => null,
			'forceDecimals' => null,
			'yAxisValueDecimals' => null,
			'baseFont' => null,
			'baseFontSize' => null,
			'baseFontColor' => null,
			'outCnvBaseFont' => null,
			'outCnvBaseFontSize' => null,
			'outCnvBaseFontColor' => null,
			'showToolTip' => null,
			'toolTipBgColor' => null,
			'toolTipBorderColor' => null,
			'toolTipSepChar' => null,
			'captionPadding' => null,
			'xAxisNamePadding' => null,
			'yAxisNamePadding' => null,
			'yAxisValuesPadding' => null,
			'labelPadding' => null,
			'valuePadding' => null,
			'plotSpacePercent' => null,
			'chartLeftMargin' => null,
			'chartRightMargin' => null,
			'chartTopMargin' => null,
			'chartBottomMargin' => null
		);
	}
	
	/**
	 * (non-PHPdoc)
	 * @see library/Bushido/DOMElement/Bushido_DOMElement_Abstract#_setRequiredAttributes()
	 */
	protected function _setRequiredAttributes()
	{
		$this->_requiredAttributes = array
		(
		);
	}
	
	/**
	 * (non-PHPdoc)
	 * @see library/Bushido/DOMElement/Bushido_DOMElement_Abstract#_setAllowedChildren()
	 */
	protected function _setAllowedChildren()
	{
		$this->_allowedChildren = array
		(
			'dataset' => null,
			'set' => null,
			'trendLines' => null,
			'dials' => null,
			'styles' => null
		);
	}
	
	
	/**
	 * (non-PHPdoc)
	 * @see library/Bushido/DOMElement/Bushido_DOMElement_Abstract#_setRequiredChildren()
	 */
	protected function _setRequiredChildren()
	{
		$this->_requiredChildren = array
		(
		);
	}
}
